package it.univaq.di.helpdesk.business.common;

import java.util.List;
import java.util.Map;

import it.univaq.di.helpdesk.business.errors.BusinessException;
import it.univaq.di.helpdesk.business.model.Office;

public interface OfficeService {
	
	public void addOffice(Office office) throws BusinessException;
	
	public void updateOffice(Office office) throws BusinessException;
	
	public void deleteOffice(int ID) throws BusinessException;
	
	public List<Office> findAllOffice() throws BusinessException;
	
	public Office findOfficeByID(int ID) throws BusinessException;
	
	public List<Office> searchForOffices(Map<String, String> queryParam) throws BusinessException;
	
	public List<Integer> findBuildingFloor(String building) throws BusinessException;
	
	public List<String> findBuildings() throws BusinessException;

}
